home *** CD-ROM | disk | FTP | other *** search
/ US Department of Defenseā€¦ndamentals 1.0 2004 April / US Department of Defense: Firewall & Router Fundamentals 1.0 2004 April.iso / sco / interface / sco_Main.swf / scripts / DefineButton2_94 / BUTTONCONDACTION on(rollOver).as < prev   
Text File  |  2004-03-29  |  550b  |  17 lines

  1. on(rollOver){
  2.    temp_name = this._name;
  3.    temp_tip_number = temp_name.slice(2,temp_name.length);
  4.    _level62.page_tooltip._x = this._x - (this._width / 2 - 5);
  5.    _level62.page_tooltip._y = this._y - this._height / 2;
  6.    _level62.page_tooltip._visible = 1;
  7.    _level62.page_tooltip.Tip_txt = _root[_root.topic_name][temp_tip_number - 1];
  8.    if(_root[_root.topic_name][temp_tip_number - 1].length > 24)
  9.    {
  10.       _level62.page_tooltip.gotoAndStop("large");
  11.    }
  12.    else
  13.    {
  14.       _level62.page_tooltip.gotoAndStop("small");
  15.    }
  16. }
  17.